package com.mf.all.entity.req.search;

import com.mf.all.entity.req.publicReq.ReqPublicPaging;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

import java.io.Serializable;

import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 出入库记录查询条件
 *
 * @date 2025-04-02 22:36:47
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SearchReqInOutRecord extends ReqPublicPaging implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "关键值")
    private String key;

    private Integer id;
    @Schema(description = "出入库类型")
    private String inOutType;
    @Schema(description = "in-入库；out-出库")
    private String type;
    @Schema(description = "物料名称")
    private String materialName;
    @Schema(description = "物料编号")
    private String materialCode;
    @Schema(description = "物料id")
    private Integer materialId;
    @Schema(description = "物料规格")
    private String materialSize;
    @Schema(description = "物料单位")
    private String materialUnit;
    @Schema(description = "出库数量")
    private Integer quantity;
    @Schema(description = "出库人员id")
    private Integer outUserId;
    @Schema(description = "出库人员")
    private String outUserName;
    @Schema(description = "存放区域id")
    private Integer areaId;
    @Schema(description = "仓库id")
    private Integer warehoustId;
    @Schema(description = "领用人id")
    private Integer receiveUserId;
    @Schema(description = "领用人姓名")
    private String receiveUserName;
}
